package com.ngkj.zmfptback.sys.initData.mapper.read;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ngkj.zmfptback.sys.initData.bean.SysDict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ChenHN
 * @since 2021/10/27 creation
 **/
@Mapper
public interface DictMapper extends BaseMapper<SysDict> {

    List<SysDict> getAllSysDict(String status);

    IPage<SysDict> getDictPage(@Param("page") Page<SysDict> page,@Param("sysDict") SysDict sysDict);
}
